package model

type schoolInfo struct {
	Area         string  `json:"Area"`       //北京市 海淀区
	Name         string  `json:"Name"`       //洋房小学
	SchoolType   byte    `json:"SchoolType"` //1 1：小学 2：中学 3：高中
	Year         string  `json:"Year"`       //2018
	Score        float64 `json:"Score"`      //78.5
	Level        string  `json:"Level"`
	HasExtension bool    `json:"HasExtension"`
}

type studentNum struct {
	IndexName []string   `json:"IndexName"`
	EachInfo  []eachInfo `json:"EachInfo"`
}

type eachInfo struct {
	Boy           int64 `json:"Boy"`
	Girl          int64 `json:"Girl"`
	BoyAbsent     int64 `json:"BoyAbsent"`
	GirlAbsent    int64 `json:"GirlAbsent"`
	BoyPrivilege  int64 `json:"BoyPrivilege"`
	GirlPrivilege int64 `json:"GirlPrivilege"`
}

type eachScoreInfo struct {
	Total total `json:"Total"`
}

type total struct {
	BoyResult  float64 `json:"BoyResult"`
	GirlResult float64 `json:"GirlResult"`
	AvgResult  float64 `json:"AvgResult"`
	BoyScore   float64 `json:"BoyScore"`
	GirlScore  float64 `json:"GirlScore"`
	AvgScore   float64 `json:"AvgScore"`
}

type schoolScoresInfo struct {
	Boy  []float64 `json:"Boy"`
	Girl []float64 `json:"Girl"`
	Avg  []float64 `json:"Avg"`
}
